/*
 * @Author: your name
 * @Date: 2021-05-17 10:09:02
 * @LastEditTime: 2021-05-17 10:10:48
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \blog-server\models\key.js
 */
const mongoose = require('mongoose')
const schema = new mongoose.Schema({
  content: {
    type: String,
    required: true,
  },
  //更新日期
  date: {
    type: mongoose.SchemaTypes.Date,
    default: Date.now
  },
})

module.exports = mongoose.model('Key', schema)